Woocommerce\Pagarme\Concrete\WoocommercePlatformOrderDecorator D

Total Complexity 167
Dependencies 36
Dependents 1
Total lines 1,194
Lines of code 769
Logical lines of code 431
Comment lines 86
Methods 76
Properties 7

Methods 76

Method Rating Maintainability Complexity Lines of code
extractPaymentDataFromTwoCreditCards()
A
44 10 44
extractPaymentDataFromBilletCreditcard()
A
42 9 56
getPaymentHandler()
A
55 8 23
extractPaymentDataFromVoucher()
S
48 6 32
extractBasePaymentData()
S
49 6 30
extractMultibuyerData()
S
47 5 36
fieldNotSet()
S
59 6 15
getItemCollection()
S
50 5 28
getRegisteredCustomer()
S
46 3 40
getCustomer()
S
58 4 17
extractPaymentDataFromPix()
S
57 4 17
extractPaymentDataFromBillet()
S
57 4 16
setStatusAfterLog()
S
58 4 15
getPaymentMethodCollection()
S
53 3 23
validateAddressFields()
S
54 3 21
extractPaymentDataFromCreditCard()
S
56 3 19
isBilletAndCreditCardPayment()
S
69 4 6
validateSellerArray()
S
63 4 10
formatPaymentMethod()
S
62 3 12
getPagarmeId()
S
64 3 11
handleSplitOrder()
S
57 2 18
getState()
S
57 2 17
getAddress()
S
57 2 17
getGuestCustomer()
S
50 1 30
getShipping()
S
58 1 16
isTwoCreditCardPayment()
S
70 2 6
extractPaymentDataFromPagarmeDebit()
S
67 2 8
isPixPayment()
S
68 2 7
isCreditCardPayment()
S
68 2 7
isBilletPayment()
S
68 2 7
getTotalPaid()
S
75 2 4
getCoreStatusFromWoocommerceStatus()
S
67 2 8
getWoocommerceStatusFromCoreStatus()
S
67 2 8
isVoucherPayment()
S
68 2 7
getTotalDue()
S
75 2 4
extractPaymentDataFromPagarmeVoucher()
S
67 2 8
extractAdditionalChargeInformation()
S
82 1 3
addAdditionalInformation()
S
82 1 3
getBaseTaxAmount()
S
81 1 3
setAdditionalInformation()
S
82 1 3
addMPHistoryComment()
S
81 1 3
getStatusLabel()
S
80 1 3
getQuote()
S
82 1 3
loadByIncrementId()
S
76 1 4
getStatus()
S
73 1 5
setStateAfterLog()
S
82 1 3
save()
S
82 1 3
getTotalCanceled()
S
81 1 3
sendEmail()
S
82 1 3
setRecurrenceInfo()
S
82 1 3
getRecurrenceService()
S
81 1 3
canUnhold()
S
82 1 3
setTotalPaid()
S
82 1 3
setBaseTotalPaid()
S
82 1 3
setTotalDue()
S
82 1 3
setBaseTotalDue()
S
82 1 3
setTotalCanceled()
S
82 1 3
setBaseTotalCanceled()
S
82 1 3
getTotalRefunded()
S
81 1 3
setTotalRefunded()
S
82 1 3
setBaseTotalRefunded()
S
82 1 3
getCode()
S
81 1 3
isPaymentReview()
S
82 1 3
setIsCustomerNotified()
S
91 1 2
isCanceled()
S
80 1 3
getPaymentMethodPlatform()
S
82 1 3
getInvoiceCollection()
S
82 1 3
getGrandTotal()
S
81 1 3
getHistoryCommentCollection()
S
81 1 3
getData()
S
81 1 3
getTransactionCollection()
S
82 1 3
getPaymentCollection()
S
82 1 3
getIncrementId()
S
81 1 3
setCustomer()
S
81 1 3
canInvoice()
S
82 1 3
__construct()
S
69 1 7